<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <!-- start: Meta -->
    <meta charset="utf-8">
    <title>祥安消防系统</title>
    <meta name="description" content="Bootstrap Metro Dashboard">
    <meta name="author" content="Dennis Ji">
    <meta name="keyword"
          content="Metro, Metro UI, Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">
    <!-- end: Meta -->

    <!-- start: Mobile Specific -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- end: Mobile Specific -->

    <!-- start: CSS -->
    <link id="bootstrap-style" href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/bootstrap-responsive.min.css" rel="stylesheet">
    <link id="base-style" href="css/style.css" rel="stylesheet">
    <link id="base-style-responsive" href="css/style-responsive.css"
          rel="stylesheet">
    <link
            href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,latin-ext'
            rel='stylesheet' type='text/css'>
    <!-- end: CSS -->


    <!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <link id="ie-style" href="css/ie.css" rel="stylesheet">
    <![endif]-->

    <!--[if IE 9]>
    <link id="ie9style" href="css/ie9.css" rel="stylesheet">
    <![endif]-->

    <!-- start: Favicon -->
    <link rel="shortcut icon" href="img/favicon.ico">
    <!-- end: Favicon -->




</head>
<body>

<!-- start: JavaScript-->

<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/jquery-migrate-1.0.0.min.js"></script>

<script src="js/jquery-ui-1.10.0.custom.min.js"></script>

<script src="js/jquery.ui.touch-punch.js"></script>

<script src="js/modernizr.js"></script>

<script src="js/bootstrap.min.js"></script>

<script src="js/jquery.cookie.js"></script>

<script src='js/fullcalendar.min.js'></script>

<script src='js/jquery.dataTables.min.js'></script>

<script src="js/excanvas.js"></script>
<script src="js/jquery.flot.js"></script>
<script src="js/jquery.flot.pie.js"></script>
<script src="js/jquery.flot.stack.js"></script>
<script src="js/jquery.flot.resize.min.js"></script>

<script src="js/jquery.chosen.min.js"></script>

<script src="js/jquery.uniform.min.js"></script>

<script src="js/jquery.cleditor.min.js"></script>

<script src="js/jquery.noty.js"></script>

<script src="js/jquery.elfinder.min.js"></script>

<script src="js/jquery.raty.min.js"></script>

<script src="js/jquery.iphone.toggle.js"></script>

<script src="js/jquery.uploadify-3.1.min.js"></script>

<script src="js/jquery.gritter.min.js"></script>

<script src="js/jquery.imagesloaded.js"></script>

<script src="js/jquery.masonry.min.js"></script>

<script src="js/jquery.knob.modified.js"></script>

<script src="js/jquery.sparkline.min.js"></script>

<script src="js/counter.js"></script>

<script src="js/retina.js"></script>

<script src="js/custom.js"></script>

<script>
    $(document).ready(function(){



    });

</script>

<!-- end: JavaScript-->

<!-- start: Header -->
<%@include file="header.jsp"%>
<div class="container-fluid-full">
    <div class="row-fluid">

        <!-- start: Main Menu -->
        <%@include file="mainmenu.jsp"%>
        <!-- start: Content -->
        <div id="content" class="span10">
            <ul class="breadcrumb">
                <li><i class="icon-home"></i> <a href="index.html">主页</a> <i
                        class="icon-angle-right"></i></li>
                <li><a href="#">任务情况</a></li>
            </ul>

            <div class="row-fluid sortable">
                <div class="box span12">
                    <div class="box-header" data-original-title>
                        <h2>
                            <i class="halflings-icon white edit"></i><span class="break"></span>新建调度任务
                        </h2>
                        <div class="box-icon">
                            <a href="#" class="btn-setting"><i
                                    class="halflings-icon white wrench"></i></a> <a href="#"
                                                                                    class="btn-minimize"><i
                                class="halflings-icon white chevron-up"></i></a> <a href="#"
                                                                                    class="btn-close"><i class="halflings-icon white remove"></i></a>
                        </div>
                    </div>

                    <div class="box-content">

                        <form class="form-horizontal" id="formjc" method="post" action="${pageContext.request.contextPath}/todaytask_saveOrUpdate">
                            <fieldset>
                                <div class="box-content">
                                    <img src="img/u2142.png">
                                    <label class="label-info">今日任务详单：</label>
                                    <div class="controls" style="margin-left: auto">

                                        <div class="box-content">
                                            <table class="table table-striped table-bordered bootstrap-datatable">
                                                <thead>
                                                <tr>
                                                    <th>任务名称</th>
                                                    <th>执行日期</th>
                                                    <th>应到时间</th>
                                                    <th>执行人员</th>
                                                    <th>任务负责人</th>
                                                    <th>出行方式</th>
                                                    <th>单位名称</th>
                                                    <th>任务地点</th>
                                                    <th>调度是否预约</th>
                                                    <th>调度是否发送问题至任务表</th>
                                                    <th width="15%">备注</th>
                                                </tr>
                                                </thead>
                                                <tbody>

                                                <s:iterator id="jc" value="#taskJcList" var="jc">
                                                    <tr>
                                                        <td class="center"><s:property value="#jc.taskName"/></td>
                                                        <td class="center"><s:property value="#jc.executeTime"/></td>
                                                        <td class="center"><s:property value="#jc.time"/></td>
                                                        <td class="center"><s:property value="#jc.taskPeople"/></td>
                                                        <td class="center"><s:property value="#jc.confirmPeople"/></td>
                                                        <td class="center"><s:property value="#jc.cxfs"/></td>
                                                        <td class="center"><s:property value="#jc.companyName"/></td>
                                                        <td class="center"><s:property value="#jc.taskAdress"/></td>
                                                        <td class="center"><s:property value="#jc.tqyjflx==1?'是':'否'"/></td>
                                                        <td class="center"><s:property value="#jc.ddxfs==1?'是':'否'"/></td>
                                                        <td class="center"><s:property value="#jc.remarks"/></td>
                                                    </tr>

                                                </s:iterator>

                                                <s:iterator id="jc" value="#taskWhyjList" var="jc">
                                                    <tr>
                                                        <td class="center"><s:property value="#jc.taskName"/></td>
                                                        <td class="center"><s:property value="#jc.executeTime"/></td>
                                                        <td class="center"><s:property value="#jc.time"/></td>
                                                        <td class="center"><s:property value="#jc.taskPeople"/></td>
                                                        <td class="center"><s:property value="#jc.confirmPeople"/></td>
                                                        <td class="center"><s:property value="#jc.cxfs"/></td>
                                                        <td class="center"><s:property value="#jc.companyName"/></td>
                                                        <td class="center"><s:property value="#jc.taskAdress"/></td>
                                                        <td class="center"><s:property value="#jc.tqyjflx==1?'是':'否'"/></td>
                                                        <td class="center"><s:property value="#jc.ddxfs==1?'是':'否'"/></td>
                                                        <td class="center"><s:property value="#jc.remarks"/></td>
                                                    </tr>

                                                </s:iterator>

                                                <s:iterator id="jc" value="#taskWxList" var="jc">
                                                    <tr>
                                                        <td class="center"><s:property value="#jc.taskName"/></td>
                                                        <td class="center"><s:property value="#jc.executeTime"/></td>
                                                        <td class="center"><s:property value="#jc.time"/></td>
                                                        <td class="center"><s:property value="#jc.taskPeople"/></td>
                                                        <td class="center"><s:property value="#jc.confirmPeople"/></td>
                                                        <td class="center"><s:property value="#jc.cxfs"/></td>
                                                        <td class="center"><s:property value="#jc.companyName"/></td>
                                                        <td class="center"><s:property value="#jc.taskAdress"/></td>
                                                        <td class="center"><s:property value="#jc.tqyjflx==1?'是':'否'"/></td>
                                                        <td class="center"><s:property value="#jc.ddxfs==1?'是':'否'"/></td>
                                                        <td class="center"><s:property value="#jc.remarks"/></td>
                                                    </tr>

                                                </s:iterator>

                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                    <img src="img/u2142.png">

                                    <label class="label-info">新建今日任务照片考勤：</label>

                                    <div class="controls" style="margin-left: auto">

                                        <div class="box-content">
                                            <table class="table table-striped table-bordered bootstrap-datatable datatable">
                                                <thead>
                                                <tr>
                                                    <th>任务名称</th>
                                                    <th>执行日期</th>
                                                    <th>应到时间</th>
                                                    <th>人员执行状态</th>
                                                    <th>照片考勤</th>
                                                    <th>任务计划照片</th>
                                                    <th>单位名称</th>
                                                    <th>任务地点</th>
                                                    <th>操作</th>
                                                </tr>
                                                </thead>
                                                <tbody>

                                                <s:iterator id="jc" value="#taskWhyjList" var="jc">
                                                    <tr>
                                                        <td class="center"><s:property value="#jc.taskName"/></td>
                                                        <td class="center"><s:property value="#jc.executeTime"/></td>
                                                        <td class="center"><s:property value="#jc.time"/></td>
                                                        <td class="center"><span class="label label-success"><s:property value="#jc.peopleLate"/></span></td>
                                                        <td class="center"><span class="label label-success"><s:property value="#jc.zpkq==1?'完成':'未完成'"/></span></td>
                                                        <td class="center"><span class="label label-success"><s:property value="#jc.rwjhzp==1?'完成':'未完成'"/></span></td>
                                                        <td class="center"><s:property value="#jc.companyName"/></td>
                                                        <td class="center"><s:property value="#jc.taskAdress"/></td>
                                                        <td class="center">
                                                            <a class="btn btn-info" href="${pageContext.request.contextPath}/whyjtask_editWhyjTask?taskId=<s:property value="#jc.id"/>&company=<s:property value="#jc.companyName"/>"> <i
                                                                    class="halflings-icon white edit"></i>
                                                            </a> <a class="btn btn-danger" href="${pageContext.request.contextPath}/whyjtask_deleteWhyjTask?taskId=<s:property value="#jc.id"/>"> <i
                                                                class="halflings-icon white trash"></i>
                                                        </a></td>
                                                    </tr>
                                                </s:iterator>

                                                <s:iterator id="jc" value="#taskWxList" var="jc">
                                                    <tr>
                                                        <td class="center"><s:property value="#jc.taskName"/></td>
                                                        <td class="center"><s:property value="#jc.executeTime"/></td>
                                                        <td class="center"><s:property value="#jc.time"/></td>
                                                        <td class="center"><span class="label label-success"><s:property value="#jc.peopleLate"/></span></td>
                                                        <td class="center"><span class="label label-success"><s:property value="#jc.zpkq==1?'完成':'未完成'"/></span></td>
                                                        <td class="center"><span class="label label-success"><s:property value="#jc.rwjhzp==1?'完成':'未完成'"/></span></td>
                                                        <td class="center"><s:property value="#jc.companyName"/></td>
                                                        <td class="center"><s:property value="#jc.taskAdress"/></td>
                                                        <td class="center">
                                                            <a class="btn btn-info" href="${pageContext.request.contextPath}/wxtask_editwxTask?taskId=<s:property value="#jc.id"/>"> <i
                                                                    class="halflings-icon white edit"></i>
                                                            </a> <a class="btn btn-danger" href="${pageContext.request.contextPath}/wxtask_deletewxTask?taskId=<s:property value="#jc.id"/>"> <i
                                                                class="halflings-icon white trash"></i>
                                                        </a></td>
                                                    </tr>

                                                </s:iterator>
                                                <s:iterator id="jc" value="#taskJcList" var="jc">
                                                    <tr>
                                                        <td class="center"><s:property value="#jc.taskName"/></td>
                                                        <td class="center"><s:property value="#jc.executeTime"/></td>
                                                        <td class="center"><s:property value="#jc.time"/></td>
                                                        <td class="center"><span class="label label-success"><s:property value="#jc.peopleLate"/></span></td>
                                                        <td class="center"><span class="label label-success"><s:property value="#jc.zpkq==1?'完成':'未完成'"/></span></td>
                                                        <td class="center"><span class="label label-success"><s:property value="#jc.rwjhzp==1?'完成':'未完成'"/></span></td>
                                                        <td class="center"><s:property value="#jc.companyName"/></td>
                                                        <td class="center"><s:property value="#jc.taskAdress"/></td>
                                                        <td class="center">
                                                            <a class="btn btn-info" href="${pageContext.request.contextPath}/jctask_editJcTask?taskId=<s:property value="#jc.id"/>"> <i
                                                                    class="halflings-icon white edit"></i>
                                                            </a> <a class="btn btn-danger" href="${pageContext.request.contextPath}/jctask_deleteJcTask?taskId=<s:property value="#jc.id"/>"> <i
                                                                class="halflings-icon white trash"></i>
                                                        </a></td>
                                                    </tr>

                                                </s:iterator>


                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                    <img src="img/u2142.png">
                                    <label class="label-info">调度任务：</label>
                                    <input type="hidden" name="taskToday.todayDate" value="<s:property value="#taskToday.todayDate"/>">
                                    <input type="hidden" name="taskToday.id" value="<s:property value="#taskToday.id"/>">

                                    <%--<div class="control-group" style="margin-left: auto">--%>
                                        <%--<label class="checkbox inline">--%>
                                            <%--<input type="checkbox" id="inlineCheckbox213" name="taskToday.ddxfs"--%>
                                            <%--<s:property value="#taskToday.ddxfs==1?'checked':''"/> value="1"> 调度需发送任务问题表--%>
                                        <%--</label>--%>

                                    <%--</div>--%>

                                    <div class="control-group" style="margin-left: auto">
                                        <label class="checkbox inline">
                                            <input type="checkbox" id="inlineCheckbox1" name="taskToday.zjwhsx"
                                                   <s:property value="#taskToday.zjwhsx==1?'checked':''"/> value="1"> 11：00前早间维护所需问题技术人员填写完毕并发送至调度
                                        </label>

                                    </div>

                                    <div class="control-group" style="margin-left: auto">
                                        <label class="checkbox inline">
                                            <input type="checkbox" id="inlineCheckbox2" name="taskToday.zrwwc"
                                                   <s:property value="#taskToday.zrwwc==1?'checked':''"/> value="1"> 1:30昨日未完成任务状态完成
                                        </label>
                                    </div>
                                    <div class="control-group" style="margin-left: auto">
                                        <label class="checkbox inline">
                                            <input type="checkbox" id="inlineCheckbox3" name="taskToday.jswsjdnr"
                                            <s:property value="#taskToday.zrwwc==1?'checked':''"/> value="1"> 1:30将上午所接电内容生成对应现场执行，且发送至技术员
                                        </label>
                                    </div>

                                    <div class="control-group" style="margin-left: auto">
                                        <label class="checkbox inline">
                                            <input type="checkbox" id="inlineCheckbox4" name="taskToday.cgsqhc"
                                            <s:property value="#taskToday.cgsqhc==1?'checked':''"/> value="1"> 1:30采购申请核查
                                        </label>
                                    </div>

                                    <div class="control-group" style="margin-left: auto">
                                        <label class="checkbox inline">
                                            <input type="checkbox" id="inlineCheckbox8" name="taskToday.jrywc"
                                            <s:property value="#taskToday.jrywc==1?'checked':''"/> value="1"> 6:30今日已完成任务状态及问题确定完毕
                                        </label>
                                        <label class="checkbox inline">
                                            <input type="checkbox" id="inlineCheckbox9" name="taskToday.ldbjswsjdnr"
                                            <s:property value="#taskToday.ldbjswsjdnr==1?'checked':''"/> value="1"> 6:30将上午所接电内容生成计划任务，且发送出
                                        </label>
                                    </div>
                                    <div class="control-group" style="margin-left: auto">
                                        <div class="control-group" style="margin-left: auto">
                                            <label class="checkbox inline">
                                                <input type="checkbox" id="inlineCheckbox10" name="taskToday.ldbcgsqhc"
                                                <s:property value="#taskToday.ldbcgsqhc==1?'checked':''"/> value="1"> 6:30采购申请核查
                                            </label>

                                        </div>

                                        <div class="control-group">
                                            <div class="control-group" style="margin-left: auto">
                                                <label class="label"> 今日起草合同份数:</label>
                                                <input class="input-mini focused" id="focusedInput1" type="text"
                                                       name="taskToday.qcht" value="<s:property value="#taskToday.qcht"/>">
                                                <label class="label"> 单位：</label>
                                                <input class="input-medium focused" id="focusedInput2" type="text"
                                                       name="taskToday.htdw" value="<s:property value="#taskToday.htdw"/>"
                                                       placeholder="请输入单位">

                                            </div>
                                            <div class="control-group" style="margin-left: auto">
                                                <label class="label"> 今日出具报告数量:</label>
                                                <input class="input-mini focused" id="focusedInput3" type="number"
                                                       name="taskToday.cjbg" value="<s:property value="#taskToday.cjbg"/>">
                                                <label class="label"> 单位：</label>
                                                <input class="input-medium focused" id="focusedInput4" type="text"
                                                       name="taskToday.bgdw" value="<s:property value="#taskToday.bgdw"/>"
                                                       placeholder="请输入单位">
                                            </div>
                                        </div>

                                        <div class="control-group">
                                            <label class="checkbox inline">
                                                <input type="checkbox" id="inlineCheckbox14" name="taskToday.qdysfgt"
                                                <s:property value="#taskToday.qdysfgt==1?'checked':''"/>
                                                       value="1"> 7:00 与维护及检测师傅沟通第二日任务
                                            </label>
                                        </div>

                                        <div class="control-group">
                                            <label class="checkbox inline">
                                                <input type="checkbox" id="inlineCheckbox15" name="taskToday.qdsw"
                                                <s:property value="#taskToday.qdsw==1?'checked':''"/>
                                                       value="1"> 7:15 发送以被确认的第二日现场执行
                                            </label>
                                        </div>



                                    </div>

                                </div>
                                <div class="form-actions">
                                    <a href="${pageContext.request.contextPath}/todaytask_printToday"><button type="button" class="btn">打印</button></a>
                                    <button class="btn btn-primary" onclick="checkForm()">保存</button>
                                    <button class="btn">关闭</button>
                                </div>
                            </fieldset>
                        </form>


                    </div>
                </div>
                <!--/span-->

            </div>

        </div>
        <!--/.fluid-container-->

        <!-- end: Content -->
    </div>
    <!--/#content.span10-->
</div>
<!--/fluid-row-->

<%@include file="footer.jsp"%>



</body>
</html>